package com.bjut.vendormgrsys.model.repository;

import com.bjut.vendormgrsys.model.domain.id.UserRoleId;
import com.bjut.vendormgrsys.model.domain.UserRolePO;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;

import java.util.List;

public interface UserRoleRespository extends JpaRepository<UserRolePO, UserRoleId>, JpaSpecificationExecutor<UserRolePO> {
    List<UserRolePO> getUserRolePOSByUid(String uid);
}
